package renguanyu.app.auth4fx.util;

import javafx.scene.control.Alert;
import renguanyu.app.auth4fx.App;

public class DialogUtil {

    public static void error(String content){
        Alert alert = new Alert(Alert.AlertType.ERROR);
        alert.setTitle("异常提示");
        alert.setHeaderText(null);
        alert.setContentText(content);
        alert.initOwner(App.scene.getWindow());
        alert.show();
    }
}
